|
This page last changed on May 10, 2006 by jens@atlassian.com.
You need to edit in 'Wiki Markup' mode to include macros in your page.
The Gallery Macro creates a gallery of thumbnails from all the images that are attached to a page and displays them in a tabular format. Clicking on the thumbnail opens up the full-size image in a new window. You can also view the images as a slideshow by clicking the 'View as Slideshow' link located below the title.
You can specify a title for the gallery and also configure how many columns you want for the table in which your images are displayed. Confluence automatically displays the corresponding comment below the image.
Confluence only creates thumbnails of images in these file formats:gifs, pngs and jpegs. The bmp format is not supported.
To use the gallery macro, simply include the following markup in your page and replace the title with your own.
Gallery Macro
| What you need to type |
| {gallery:title=Some office photos, and a waterfall}{gallery} |
| What you will get |
|
|
The default number of columns for the table is 4.
Optional Parameter
| No |
parameter |
Default |
Description |
| 1 |
columns |
4 |
Specify the number of columns for your table |
| 2 |
slideshow |
true |
Disable slide show option |
Specify the number of columns for your table
Disable slide show option
By default, Confluence displays the link to view the images as a slideshow. To disable this link, include the following code within the macro:
RELATED TOPICS
Displaying an Image
Thumbnail Macro
Attaching Files to a Page
Editing Attachment Details
Working with Macros
Take me back to Confluence 2.0 Home
|
This gallery macro is great!
Is it possible to control the order of the photos' display? It looks like it goes in the order in which the files were attached to the page.
If it is not possible to modify the gallery macro, is it possible to support changing the order of the files in the attachments collection? I suppose I could remove them all, and then add them in the desired order, but I would like to avoid that if possible.
Thanks,
Keith

Posted by keithrbennett at Dec 30, 2005 15:35
|
|
There is a feature request already open on Atlassian's JIRA. If you can comment and vote for it, that would help raise the priority of this request.

Posted by gfraser at Dec 31, 2005 11:14
|
|
I to like this feature, just wondering how I would control the size of the window opened for the photos.
I have tried making the photos smaller in size, but they still open in a window larger than my screen.
Am I missing something?
Allan

Posted by allan.d.voltz@boeing.com at Mar 14, 2006 22:40
|
|